
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html";charset="UTF-8">
    <link rel="stylesheet" href="style.css">
    <title>首页</title>
</head>
</head>
<body>
<div id="container">
    <div id="header">
        <h1>社区宠物诊所</h1>
    </div>
    <div id="content">
        <form action="LoginServlet" method="POST">
            <table>
                <tr>
                    <td>用户名</td>
                    <td><input type="text" name="name"></td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td><input type="password" name="pwd"></td>
                </tr>
                <tr>
                    <td>验证码</td>
                    <td><input type="text" name="checkcode"></td>
                </tr>
                <tr>

                    <td>点击刷新</td>
                    <td><input type="image" name="img-code" id="img-code" alt="看不清，点击换图" src="CheckCode" onclick="javascript:this.src='CheckCode?+rand=Math.random()'"></td>>
                </tr>
                <tr class="cols2">
                    <td colspan="2"><input type="submit" value="登录"/><input type="reset" value="重置"></td>

                </tr>
                <tr class="cols2">
                    <td colspan="2" class="info">${requestScope.msg}</td>
                </tr>



            </table>
        </form>
    </div>
    <div id="footer"></div>
</div>

</body>
</html>
